import { Injectable } from '@angular/core';
import { gw_code_t, gw_demo } from '@core';
import { _HttpClient } from '@delon/theme';

@Injectable()
export class DemoService {
  constructor(private http: _HttpClient) {}

  public getUploadFileUrl() {
    return `${gw_code_t}/ext/material/upload/file`;
  }

  public getOssUploadFileUrl() {
    return `${gw_demo}/ext/oss/upload/file`;
  }
}
